<?php
  echo round(9.5, 0, PHP_ROUND_HALF_UP),"\n";   // 10
  echo round(9.5, 0, PHP_ROUND_HALF_DOWN),"\n"; // 9
  echo round(9.5, 0, PHP_ROUND_HALF_EVEN),"\n"; // 10
  echo round(9.5, 0, PHP_ROUND_HALF_ODD),"\n";  // 9

  echo round(8.5, 0, PHP_ROUND_HALF_UP),"\n";   // 9
  echo round(8.5, 0, PHP_ROUND_HALF_DOWN),"\n"; // 8
  echo round(8.5, 0, PHP_ROUND_HALF_EVEN),"\n"; // 8
  echo round(8.5, 0, PHP_ROUND_HALF_ODD),"\n";  // 9
